<div class="page page-form" data-ng-controller="addPhone">
    <div class="panel panel-default">
        <div class="panel-heading"><strong><span
                class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;信息录入</strong></div>
        <div class="panel-body row" data-ng-controller="signupCtrl">
            <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label
                    data-ng-hide="isHide" class="control-label">{{showInfo}}</label></div>
            <div class="col-sm-1"></div>
            <form name="formInvalid" class="form-horizontal col-sm-11 form-validation" data-ng-submit="addInterview()">
                <div class="form-group">
                    <div class="col-sm-1">
                        <label>姓名</label>
                    </div>
                    <div class="col-sm-3">
                        <input type="text"
                               class="form-control"
                               placeholder="最小长度2, 最大长度6"
                               data-ng-model="phoneForm.realName"
                               required
                               data-ng-minlength="2"
                               data-ng-maxlength="6">
                    </div>
                    <div class="col-sm-1"></div>
                    <div class="col-sm-1">
                        <label>来源</label>
                    </div>
                    <div class="col-sm-3">
                        <select data-ng-model="phoneForm.sourceId" class="col-sm-12"
                                style="font-size: 15px;height: 35px;"
                                data-ng-options="m.id as m.name for m in enroll">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-1">
                        <label>电话</label>
                    </div>
                    <div class="col-sm-3">
                        <input type="number"
                               class="form-control"
                               data-ng-model="phoneForm.phoneNum"
                               data-ng-minlength="11"
                               data-ng-maxlength="11"
                               placeholder="长度为11位"
                               required>
                    </div>
                    <div class="col-sm-1"></div>
                    <div class="col-sm-1">
                        <label>情況</label>
                    </div>
                    <div class="col-sm-3">
                        <select data-ng-model="phoneForm.sitName" class="col-sm-12"
                                style="font-size: 15px;height: 35px;"
                                data-ng-options="m.id as m.name for m in situation">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-1">
                        <label>学历</label>
                    </div>
                    <div class="col-sm-3">
                        <select data-ng-model="phoneForm.eduId" class="col-sm-12"
                                style="font-size: 15px;height: 35px;"
                                data-ng-options="m.id as m.name for m in edu">
                        </select>
                    </div>
                    <div class="col-sm-1"></div>
                    <div class="col-sm-1">
                        <label>备注</label>
                    </div>
                    <div class="col-sm-3">
                        <input type="text"
                               class="form-control"
                               data-ng-model="phoneForm.note"
                                >
                    </div>
                </div>
                <br/>
                <div class="form-group">
                    <div class="col-sm-1"></div>
                    <div class="col-sm-3">
                        <button type="submit" data-ng-disabled="formInvalid.$invalid"
                                class="btn btn-info btn-block btn-lg"
                                >保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>